
						<div class="new-comment canwirteanswer"
							style="margin: 0px 10px 10px 10px;">
							<div style="" class="answer-txtbox bb top-answer"
								id="answer-txtbox">
								<!--{if 9!=$question['status']  }-->
								{if isset($cananswerthisquestion)&&$cananswerthisquestion==false}
								<div class="c-text alert alert-success-inverse">
									<i class="fa fa-info-circle mar-ly-1"></i>该问题只允许用户【{$question['askuser']['username']}】回答！
								</div>
								{else}
								
								<form class="new-comment" id="huidaform" name="answerForm"
									method="post" style="margin: 10px;">
									<input type="hidden" value="{$question['id']}" id="ans_qid"
										name="qid"> <input type="hidden" id="tokenkey" name="tokenkey"
										value='{$_SESSION["answertoken"]}' /> <input type="hidden"
										value="{$question['title']}" id="ans_title" name="title">


									<!--{template editor}-->
									<div class="write-function-block">

									 <a class="btn btn-send" id="ajaxsubmitasnwer">发送</a>
									</div>

									<!--{if $setting['code_ask']&&$user['credit1']<$setting['jingyan']}-->
									<div class="write-function-block ">{template code}</div>
									<!--{/if}-->
								</form>
							{/if}

								<!--{else}-->
								<div class="c-text alert alert-success-inverse">
									<i class="fa fa-info-circle mar-ly-1"></i>该问题目前已经被作者或者管理员关闭,
									无法添加新回复
								</div>
								<!--{/if}-->
							</div>


						</div>
						
